<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>

<script type="text/javascript">
	onload = function(){
	//	alert(b.parentNode.innerHTML = 'asdasd')
		alert(b.parentNode.parentNode.id);
	}

</script>
<div id='l' name='hanqiliang'>
	<div id='s' name='hanqiliang'>
		<div id='b'></div>
	</div>
	<div id='s1'></div>
</div>
</body>
</html>